package org.fly.jingwei.controller;

import org.fly.jingwei.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

/**
 * 主要处理登录授权的逻辑
 * @author leo.jie (weixiao.me@aliyun.com)
 * @version 1.0
 * @organization bigdata
 * @website https://www.jielongping.com
 * @date 2020/5/28 10:39 下午
 * @since 1.0
 */
@RestController
@RequestMapping("/oauth")
public class OAuthController {
    @Autowired
    private UserService userService;

    @PostMapping("/login")
    public String login(){
        return "hello";
    }
}
